:root {
  --bg-color: #555;
  --rail-width: 460px;
  --font-color: #eee;
  --white-color: #fff;
  --deepen-color: rgba(0, 0, 0, .2);
  --primary-color: #d83c3c;
  --deepen-primary-color: #e54040;
  font-family: "微软雅黑", serif;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg-color) url();
}

.rail {
  flex-basis: var(--rail-width);
}

.clearfix::after {
  display: block;
  clear: both;
  content: "";
}

.pt20 {
  padding-top: 20px;
}

/* Search Group */
.search-group {
  margin: 0 auto 20px;
  max-width: 600px;
  padding: 15px;
  background: var(--deepen-color);
  border-radius: 10px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, .4) inset, 0 1px 0 rgba(255, 255, 255, .2);
  display: flex;
}

.search-group input {
  height: 20px;
  padding: 10px 5px;
  float: left;
  font: bold 15px 'lucida sans', 'trebuchet MS', 'Tahoma', '微软雅黑';
  border: 0;
  background: var(--font-color);
  border-radius: 3px 0 0 3px;
  flex: auto;
  box-sizing: content-box;
}

.search-group button {
  overflow: visible;
  position: relative;
  float: right;
  border: 0;
  padding: 0;
  cursor: pointer;
  height: 40px;
  width: 110px;
  font: bold 15px/40px '微软雅黑';
  color: var(--white-color);
  background: var(--primary-color);
  border-radius: 0 3px 3px 0;
  text-shadow: 0 -1px 0 var(--deepen-color);
  flex: none;
  outline: none;
}

.search-group button::before {
  content: '';
  position: absolute;
  border-width: 8px 8px 8px 0;
  border-style: solid solid solid none;
  border-color: transparent var(--primary-color) transparent;
  top: 12px;
  left: -6px;
}

.search-group button:active::before {
  border-color: transparent var(--deepen-primary-color) transparent;
}

.search-group button:active {
  background: var(--deepen-primary-color);
  text-shadow: none;
}

/* Card */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  word-wrap: break-word;
  background-color: var(--deepen-color);
  background-clip: border-box;
  border: 1px solid rgba(0, 0, 0, 0.125);
  border-radius: 0.25rem;
  color: var(--font-color);
  margin-bottom: 1rem;
}

.card-body {
  flex: 1 1 auto;
  padding: 1.25rem;
}

.card.no-padding .card-body {
  padding: 0;
}

.card-header {
  padding: 0.75rem 1.25rem;
  margin-bottom: 0;
  background-color: var(--deepen-color);
  border-bottom: 1px solid rgba(0, 0, 0, 0.125);
  border-left: 3px solid var(--primary-color);
}

.card-header:first-child {
  border-radius: calc(0.25rem - 1px) calc(0.25rem - 1px) 0 0;
}

.card-header-pills {
  margin-right: -0.625rem;
  margin-left: -0.625rem;
}

/* Table */
table {
  border-collapse: collapse;
}

th {
  text-align: left;
}

.table {
  width: 100%;
  max-width: 100%;
  margin-bottom: 1rem;
  color: var(--font-color);
  background-color: var(--deepen-color);
}

.table th,
.table td {
  padding: 0.75rem;
  vertical-align: top;
  border-top: 1px solid var(--deepen-color);
}

.table thead th {
  vertical-align: bottom;
  border-bottom: 2px solid var(--deepen-color);
  background-color: var(--deepen-color);
}

.table-hover tbody tr:hover {
  background-color: rgba(255, 255, 255, 0.04);
}

.card .table {
  margin-bottom: 0;
}

/* Nav */
.nav {
  display: flex;
  flex-wrap: wrap;
  padding-left: 0;
  margin-bottom: 0;
  list-style: none;
  margin-top: 0;
}

.nav-link {
  color: var(--font-color);
  display: block;
  padding: 0.5rem 1rem;
  text-decoration: none;
}

.nav-link:focus, .nav-link:hover {
  text-decoration: none;
}

.nav-pills .nav-link {
  border-radius: 0.25rem;
}

.nav-pills .nav-link.active {
  color: var(--white-color);
  background-color: var(--primary-color);
}

/* hint.css */
.hint--white[class*=hint--]:after {
  color: #000;
  text-shadow: none;
  font-family: inherit;
  font-size: .8em;
}

.hint--white:after {
  background-color: var(--white-color);
}

.hint--white.hint--top-left:before,
.hint--white.hint--top-right:before,
.hint--white.hint--top:before {
  border-top-color: var(--white-color);
}

.hint--white.hint--bottom-left:before,
.hint--white.hint--bottom-right:before,
.hint--white.hint--bottom:before {
  border-bottom-color: var(--white-color);
}

.hint--white.hint--left:before {
  border-left-color: var(--white-color);
}

.hint--white.hint--right:before {
  border-right-color: var(--white-color);
}
.icon {
  color: #fff;
  width: 1em;
  height: 1em;
  display: inline-block;
  cursor: pointer;
}